<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>短链接广告测试</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        html,
        body,
        #iframe {
            width: 100vw;
            height: 100vh;
        }

        body {
            overflow: hidden;
        }

        .ad-box {
            width: 100px;
            height: 400px;
            background-color: #888;
            position: absolute;
            top: 50%;
            transform: translate3d(0, -50%, 0);
        }

        .ad-box-left {
            left: 0;
        }

        .ad-box-right {
            right: 0;
        }

        .ad-img {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 50px;
            height: 50px;
            border-radius: 8px;
        }
    </style>
</head>

<body>
    <section class="ad-box ad-box-left">这里是广告</section>
    <section class="ad-box ad-box-right">这里是广告</section>
    <img src="/images/doge.jpg" class="ad-img" alt="">
    <iframe id="iframe" src="<%= url %>"></iframe>
</body>

</html>